文章目录
  1. 1. Warning the user/local/mysql/data directory is not owned by the mysql user

Warning the user/local/mysql/data directory is not owned by the mysql user

mysql macOS

以下是正解:
|If you can’t start mysql service in snow leopard, and in the panel prefs appears ‘warning the user/local/mysql/data directory is not owned by the mysql user’, you have to:

  • sudo chown -RL root:mysql /usr/local/mysql
  • sudo chown -RL mysql:mysql /usr/local/mysql/data
  • sudo /usr/local/mysql/support-files/mysql.server start

|
|—————————————————————————————————————————————————————————————————————————————————————————————————————————————|

文章目录
  1. 1. Warning the user/local/mysql/data directory is not owned by the mysql user